package com.example.movie_control;

public class FrontDesk extends User {
    public FrontDesk(String userId, String username, String password, String phone) {
        super(userId, username, password, "frontdesk", phone);
    }

    @Override
    public void showMenu(CinemaSystem system) {
        System.out.println("=== 前台菜单 ===");
        System.out.println("1. 售票功能");
        System.out.println("2. 退票功能");
        System.out.println("3. 场次座位查询");
        System.out.println("4. 影片信息查询（正在上映）"); // 补充：需求新增
        System.out.println("5. 场次信息查询（近1周/当日/3日）"); // 补充：需求新增
        System.out.println("6. 修改自身密码");
        System.out.println("0. 退出登录");
    }

    @Override
    public void changePassword(String newPassword) {
        setPassword(newPassword);
    }
}